3.51 \(\int \frac{a+b x}{x^5} \, dx\)

Optimal. Leaf size=17 \[ -\frac{a}{4 x^4}-\frac{b}{3 x^3} \]

[Out]

-a/(4*x^4) - b/(3*x^3)

________________________________________________________________________________________

Rubi [A]  time = 0.0047952, antiderivative size = 17, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 9, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111, Rules used = {43} \[ -\frac{a}{4 x^4}-\frac{b}{3 x^3} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*x)/x^5,x]

[Out]

-a/(4*x^4) - b/(3*x^3)

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int \frac{a+b x}{x^5} \, dx &=\int \left (\frac{a}{x^5}+\frac{b}{x^4}\right ) \, dx\\ &=-\frac{a}{4 x^4}-\frac{b}{3 x^3}\\ \end{align*}

Mathematica [A]  time = 0.0021174, size = 17, normalized size = 1. \[ -\frac{a}{4 x^4}-\frac{b}{3 x^3} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)/x^5,x]

[Out]

-a/(4*x^4) - b/(3*x^3)

________________________________________________________________________________________

Maple [A]  time = 0.006, size = 14, normalized size = 0.8 \begin{align*} -{\frac{a}{4\,{x}^{4}}}-{\frac{b}{3\,{x}^{3}}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)/x^5,x)

[Out]

-1/4*a/x^4-1/3*b/x^3

________________________________________________________________________________________

Maxima [A]  time = 1.01408, size = 18, normalized size = 1.06 \begin{align*} -\frac{4 \, b x + 3 \, a}{12 \, x^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x^5,x, algorithm="maxima")

[Out]

-1/12*(4*b*x + 3*a)/x^4

________________________________________________________________________________________

Fricas [A]  time = 1.36441, size = 34, normalized size = 2. \begin{align*} -\frac{4 \, b x + 3 \, a}{12 \, x^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x^5,x, algorithm="fricas")

[Out]

-1/12*(4*b*x + 3*a)/x^4

________________________________________________________________________________________

Sympy [A]  time = 0.354097, size = 14, normalized size = 0.82 \begin{align*} - \frac{3 a + 4 b x}{12 x^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x**5,x)

[Out]

-(3*a + 4*b*x)/(12*x**4)

________________________________________________________________________________________

Giac [A]  time = 1.212, size = 18, normalized size = 1.06 \begin{align*} -\frac{4 \, b x + 3 \, a}{12 \, x^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)/x^5,x, algorithm="giac")

[Out]

-1/12*(4*b*x + 3*a)/x^4